package com.owen.blog.dao;

import com.owen.blog.domain.LabelToBlog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章与文章标签绑定
 */
public interface LabelToBlogDao {

    int save(LabelToBlog labelToBlog);

    int batchSave(@Param("labelToBlogs") List<LabelToBlog> labelToBlogs);

    int removeByBlogContentId(@Param("blogContentId") String blogContentId);

}
